package com.titaniume.activitiweb.util;

/**
 *@program: activiti7_workflow
 *@description: 枚举 数据返回值
 *@author: renfei.huang
 *@create: 2021-11-15 13:09
 */
public class GlobalConfig {


    public static  final Boolean Test = true;


    public enum ResponseCode{


        SUCCESS(0,"成功"),
        ERROR(1,"错误");

        private final  int code;
        private final String desc;

        ResponseCode(int code,String desc){
            this.code =code;
            this.desc = desc;
        }

        public int getCode(){
            return  code;
        }
        public String getDesc(){
            return desc;
        }

    }
}
